home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
lists
/
gem
/
l_0399
/
38
< prev
next >
Wrap
Internet Message Format
|
1994-08-27
|
767b
From: error@stack.urc.tue.nl (Erlend Nagel)
Subject: Re: Colour.
Date: Tue, 31 May 1994 11:10:30 +0200 (MET DST)
In-Reply-To: <Pine.3.87.9405310438.A20956-0100000@undergrad> from "Timothy Miller" at May 31, 94 04:09:38 am
Mime-Version: 1.0
Precedence: bulk
Timothy wrote:
> You have to have code somewhere to get the cookie and assign a pointer.
> Where are you going to put that?
I just assumed that nowadays almost any program needs the cookiejar
anyways. Most libraries have a void *getcookie(long cookie); call and if
they do not, it is only ten lines of code or so to write one. One would
write something like
cms=(cmsStruct *)getcookie('CMS!');
and access the functions with
cms.setpalette(a,b,c,d);
Oh well, thats just implementation.
Erlend.
>
>
>